<template>
    <div>
        <!-- 一级路由出口 -->
        <router-view></router-view>
    </div>
</template>
<script lang="ts" setup>
    import request from './utils/request'
    const test = async () => {
        const res = await request.get('/home/index')
        console.log('代码测试',res)
    }
    test()
</script>
<style lang="less" scoped>
    // 必须导入variables.less
    @import '@/assets/styles/variables.less';
    @import '@/assets/styles/mixins.less';
    h1 {
        background-color: @warnColor;
        .hoverShadow();
    }
</style>